package com.hx.haowumall.haowumallware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hx.common.utils.PageUtils;
import com.hx.haowumall.haowumallware.entity.WareInfoEntity;
import com.hx.haowumall.haowumallware.vo.FareVo;

import java.math.BigDecimal;
import java.util.Map;

/**
 * 仓库信息
 *
 * @author jzh
 * @email jzh@gmail.com
 * @date 2023-11-10 19:36:41
 */
public interface WareInfoService extends IService<WareInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 根据收货地址计算运费
     * */
    FareVo getFare(Long addrId);
}

